package com.peng.utils.retrofit;

import java.util.Map;

import okhttp3.ResponseBody;
import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Query;

/**
 * ApiService
 *
 * @author lupeng
 * Created on 2022-05-14
 */
public interface ApiService {

    @GET("/api/hello")
    Call<ResponseBody> hello(@Query("name") String name);


    @GET("/api/hello")
    Call<Map<String, Object>> helloWithJackson(@Query("name") String name);
}
